package cn.itsource.user.service;

import cn.itsource.user.domain.User;
import cn.itsource.user.query.UserQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserService {
    void add(User user);

    void delete(Long id);

    User get(Long id);

    List<User> getAll();

    void delPatch(Long[] ids);

    PageInfo<User> pageInfo(UserQuery userQuery);

    void updata(User user);
}
